Skip to content

chore: upgrade vuepress to rc.30 and theme-hope to rc.107 (rolldown)#1138

Merged
HTHou merged 1 commit into
apache:mainfrom
CritasWang:chore/upgrade-vuepress-rolldown
May 27, 2026
Merged

chore: upgrade vuepress to rc.30 and theme-hope to rc.107 (rolldown)#1138
HTHou merged 1 commit into
apache:mainfrom
CritasWang:chore/upgrade-vuepress-rolldown

Conversation

@CritasWang
Copy link
Copy Markdown
Contributor

Switch @vuepress/bundler-vite to the rolldown-driven build path and align the @vuepress/* plugins / helper to rc.130. theme-hope rc.107 also removes temp pages, which is the bulk of the time/memory win.

Version changes:

  • vuepress / @vuepress/bundler-vite: rc.26 -> rc.30
  • vuepress-theme-hope: rc.99 -> rc.107
  • @vuepress/plugin-docsearch / plugin-links-check / helper / plugin-back-to-top: rc.120 -> rc.130
  • sass-embedded: 1.93.3 -> 1.100.0 (required for theme-hope rc.107's new if(sass(...): ...; else: ...) SCSS syntax)

Local build benchmark (pnpm run build, /usr/bin/time -l):

  • Before (rc.26): 112.30s build, peak RSS 6731 MB
  • After (rc.30): 58.67s build, peak RSS 5254 MB
  • Wins: -47.8% build time, -21.9% peak RSS

Removes the CI build OOM risk on the 8 GB node heap without needing to raise --max_old_space_size, and roughly halves the build wall time.

No source changes; only dependency versions and lockfile.

Switch @vuepress/bundler-vite to the rolldown-driven build path and
align the @vuepress/* plugins / helper to rc.130. theme-hope rc.107
also removes temp pages, which is the bulk of the time/memory win.

Version changes:
- vuepress / @vuepress/bundler-vite: rc.26 -> rc.30
- vuepress-theme-hope: rc.99 -> rc.107
- @vuepress/plugin-docsearch / plugin-links-check / helper /
  plugin-back-to-top: rc.120 -> rc.130
- sass-embedded: 1.93.3 -> 1.100.0 (required for theme-hope rc.107's
  new `if(sass(...): ...; else: ...)` SCSS syntax)

Local build benchmark (pnpm run build, /usr/bin/time -l):
- Before (rc.26):  112.30s build, peak RSS 6731 MB
- After  (rc.30):   58.67s build, peak RSS 5254 MB
- Wins: -47.8% build time, -21.9% peak RSS

Removes the CI build OOM risk on the 8 GB node heap without needing
to raise --max_old_space_size, and roughly halves the build wall time.

No source changes; only dependency versions and lockfile.
@HTHou HTHou merged commit f36d72b into apache:main May 27, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants